--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit fab12ad9bf9f997797034950f289fe41a79dcf5a
Parents : a29c4a0
Author : Mark Qvist <bc7291552be7a58f361522990465165c>
Signature : T66BB85Valid, signed by author
Date : 2026-06-01T14:26:47+02:00
Updated build scripts
Changes
Diff
diff --git a/Makefile b/Makefile
index 5fe5f96..cb7f141 100644
--- a/Makefile
+++ b/Makefile
@@ -26,5 +26,10 @@ build_spkg: remove_symlinks build_sdist create_symlinks
release: remove_symlinks build_wheel build_spkg create_symlinks
upload:
+ @echo Ready to publish release over Reticulum
+ @read VOID
+ rngit release rns://7649a50d84610232d1416b41d2896aff/reticulum/lxmf create $$(python setup.py --getversion):dist --name lxmf
+
+upload-pip:
@echo Uploading to PyPi...
twine upload dist/*.whl dist/*.tar.gz
diff --git a/setup.py b/setup.py
index beb1432..82521ec 100644
--- a/setup.py
+++ b/setup.py
@@ -1,3 +1,4 @@
+import sys
import setuptools
with open("README.md", "r") as fh:
@@ -5,6 +6,10 @@ with open("README.md", "r") as fh:
exec(open("LXMF/_version.py", "r").read())
+if "--getversion" in sys.argv:
+ print(__version__, end="")
+ exit(0)
+
setuptools.setup(
name="lxmf",
version=__version__,
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────